<?php $announcement = $announcements['0']; ?>
<div id="main-content" class="prepend-1 span-19 last">
<?php 
	if (isset($addstatus)) {
		if ($addstatus == 'success') {
			echo '<span class="info">Pengumuman berhasil ditambahkan.</span><br /><br />';
		}
	}
	if (isset($editstatus)) {
		if ($editstatus == 'success') {
			echo '<span class="info">Pengumuman berhasil diubah.</span><br /><br />';
		}
	}
?>
	<h3><?php echo $announcement->title; ?></h3>
	<h4>
		Diposkan Oleh: <?php echo $announcement->creator; ?> | 
		Tanggal: <?php $time = mysql_to_unix($announcement->date); echo mdate(DATE_FORMAT, $time); ?>
	</h4>
	<p>
<?php echo $announcement->content; ?>
	</p>
	<div class="clear"><?php echo nbs(); ?></div>
<?php echo $paging; ?>
	<div class="clear"><?php echo nbs(); ?></div>
</div>
